package com.dys.testenum05;

/**
 * @className: com.dys.testenum05.Person
 * @description: 人类
 * @author: pine cone
 * @version: v1.0.0
 * @createTime: 2024/08/26 下午9:14
 */
public class Person {
    private String name;
    private int age;
    // private String gender;
    private Gender gender;

    public Person() {
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public Gender getGender() {
        return gender;
    }

    public void setGender(Gender gender) {
        this.gender = gender;
    }

    @Override
    public String toString() {
        return "Person{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", gender='" + gender + '\'' +
                '}';
    }
}
